package arraysUtilClassCommonMethods;

import java.util.Arrays;

/**
 * @ClassName ArraysDeepToString
 * @Description 将二维数组转为字符串
 * @Author 李明忠
 * @Date 2025/5/28 18:40
 * @Version 1.0
 */
@SuppressWarnings("all")
public class ArraysDeepToString {
    public static void main(String[] args) {
        //定义一个二维数组
        int[][] arrs = {{1,2,3}, {4,5,6,7}, {8,9,10,11,12}};

        //将二维数组转为字符串并输出

        System.out.println(Arrays.deepToString(arrs));
    }
}
